Skip to content

chore: remove redundant comments across modules#2

Merged
leodiegues merged 2 commits into
mainfrom
fix/loose-ends
Feb 15, 2026
Merged

chore: remove redundant comments across modules#2
leodiegues merged 2 commits into
mainfrom
fix/loose-ends

Conversation

@leodiegues
Copy link
Copy Markdown
Owner

Strip explanatory comments and section banners from commands.rs, git.rs and installer.rs. No functional changes

This pull request primarily removes outdated or redundant comments throughout the codebase to improve code readability and maintainability. No functional or behavioral changes are introduced; only inline comments that restated code logic or implementation details have been deleted.

Comment clean-up and code clarity:

  • Removed explanatory and redundant comments from the src/commands.rs file in functions such as cmd_install, resolve_remote_source, and cmd_init, making the code less cluttered and easier to read. [1] [2] [3] [4]
  • Deleted section marker comments and internal helper notes in src/git.rs, and removed in-line comments that restated code logic in functions like reset_to_default_branch. [1] [2]
  • Cleaned up redundant comments in the install function and the resolve_target_path helper in src/installer.rs, focusing on eliminating comments that simply repeated what the code does. [1] [2] [3]

Strip explanatory comments and section banners from commands.rs,
git.rs and installer.rs. No functional changes
@leodiegues leodiegues self-assigned this Feb 15, 2026
@leodiegues leodiegues merged commit 61e128b into main Feb 15, 2026
5 checks passed
@leodiegues leodiegues deleted the fix/loose-ends branch February 15, 2026 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant